package com.qfedu.hello.mybatis.entity;

/**
 * @auther asus
 * @date 2022/4/22 9:54
 * 员工类
 */
public class Emp1 {
    private Integer empId;
    private  String empName;
    private Double salary;
    private Integer deptId;
    private Dept1 dept1;

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public Double getSalary() {
        return salary;
    }

    public void setSalary(Double salary) {
        this.salary = salary;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Dept1 getDept1() {
        return dept1;
    }

    public void setDept1(Dept1 dept1) {
        this.dept1 = dept1;
    }

    @Override
    public String toString() {
        return "Emp1{" +
                "empId=" + empId +
                ", empName='" + empName + '\'' +
                ", salary=" + salary +
                ", deptId=" + deptId +
                '}';
    }
}
